#include <QCoreApplication>
#include "ChatServer.h"

int main(int argc, char *argv[]) {
    QCoreApplication a(argc, argv);

    ChatServer server;
    if (!server.listen(QHostAddress::Any, 1111)) {
        qDebug() << "Server could not start!";
        return 1;
    }
    qDebug() << "Server started on port 1111";

    return a.exec();
}
